package com.mk.web.basic.primitive;

/**
 * Created by WangChen on 2018/12/8 12:01.
 */
public class B extends A {

    B(int a) {
        super(a, 0);

        System.out.println("");
    }
    int a;

    protected B(int a, int b) {
        super(a, b);
    }

    @Override
    public void print() {
        super.print();
    }

    @Override
    int m1() {
        return 1;
    }
    //mm1方法重载
    void mm1(int i1, Integer i2){}
    void mm1(Integer i1, int i2){}


    void mm2(){
        //mm1(1, 2);//编译报错
    }

}
